ACFWF\Helpers\Helper_Functions D

Total Complexity 201
Dependencies 11
Dependents 32
Total lines 1,250
Lines of code 515
Logical lines of code 302
Comment lines 506
Methods 48
Properties 2

Methods 48

Method Rating Maintainability Complexity Lines of code
api_sanitize_value()
A
49 11 31
load_single_coupon_template()
A
49 11 30
compare_condition_values()
A
51 11 29
prepare_setting_fields_for_api()
A
49 9 27
api_sanitize_query_parameters()
A
53 9 23
get_price()
A
56 9 16
get_scheduler_date_field_value()
A
64 10 7
check_if_valid_api_request()
S
56 7 17
calculate_discount_by_type()
S
55 6 20
convert_utc_offset_to_timezone()
S
58 6 15
sort_cart_items_by_price()
S
58 5 15
check_if_valid_save_post_action()
S
66 6 7
is_apply_coupon()
S
64 6 9
is_cart()
S
63 6 8
is_checkout_fragments()
S
61 5 12
get_site_current_timezone()
S
63 5 10
get_all_coupons_as_options()
S
58 4 15
is_wc_admin_active()
S
64 5 9
format_bogo_trigger_deal_entry()
S
59 4 14
current_user_authorized()
S
62 4 11
sanitize_discount_value()
S
62 4 11
get_contact_support_link()
S
65 4 10
get_active_modules()
S
63 4 10
get_option()
S
73 4 4
get_all_product_category_terms()
S
60 3 13
sanitize_price()
S
62 3 12
get_customer_name()
S
65 3 8
get_customer_email()
S
74 3 4
sanitize_condition_select_value()
S
69 3 5
is_module()
S
69 3 5
get_cart_item()
S
62 2 12
get_all_coupon_categories_as_options()
S
63 2 11
get_all_products_by_category()
S
57 1 18
is_acfwp_older_than()
S
70 2 6
get_coupon_url_endpoint()
S
74 2 4
get_instance()
S
70 2 6
is_plugin_active()
S
70 2 6
sanitize_notice_type()
S
70 2 5
load_template()
S
74 2 4
api_wc_price()
S
69 2 6
get_order_frontend_link()
S
74 2 4
write_debug_log()
S
76 1 3
get_default_allowed_user_roles()
S
71 1 5
is_plugin_installed()
S
75 1 4
format_integer_for_display()
S
78 1 3
get_all_user_roles()
S
77 1 4
is_plugin_older_than()
S
79 1 3
__construct()
S
76 1 4